﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Kinect;
using Microsoft.Xna.Framework;

namespace KinectVDRTest
{
    public static class Tools
    {
        public static Vector3 ToVector3(this SkeletonPoint vector)
        {
            return new Vector3(vector.X * 2000, vector.Y * 2000, vector.Z * 2000);
        }
        public static Matrix ToMatrix(this Matrix4 value)
        {
            return new Matrix(value.M11, value.M12, value.M13, value.M14,
            value.M21, value.M22, value.M23, value.M24,
            value.M31, value.M32, value.M33, value.M34,
            value.M41, value.M42, value.M43, value.M44);
        }
    }
}
